﻿using PLCSharp.CoreModel.Prism;
using PLCSharp.Views.Workflows.Script;
using System.Windows.Controls;

namespace PLCSharp.Views.Workflows
{
    [Dialog]
    /// <summary>
    /// WorkflowConfig.xaml 的交互逻辑
    /// </summary>
    public partial class WorkflowConfig : UserControl
    {
        public WorkflowConfig()
        {
            InitializeComponent();
            var dc = DataContext as WorkflowConfigViewModel;
            dc.CustomTextEditor = editor;
        }
    }
}
